package com.eam.service;

import com.yy.base.common.dao.Dao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class TestEquipmentService {
	@Autowired
	private Dao dao;
	
	//查詢採集點的值
		public List<Map<String,Object>> selectallpoint(String spot) {
			return dao.query("select * from Emes_Fancilities_Dc_Point where fullname = ?" , spot);
		}
		
		//查詢採集點的值
		public List<Map<String,Object>> selectuserids(String spot) {
			return dao.query("select * from ad_user where name = '红太阳管理员'");
		}
	
}
